<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<meta http-equiv="Content-Type" content="text/xhtml;charset=UTF-8"/>
<meta http-equiv="X-UA-Compatible" content="IE=9"/>
<meta name="generator" content="Doxygen 1.8.9.1"/>
<title>hybridMPIC: __Simbox Class Reference</title>
<link href="../../tabs.css" rel="stylesheet" type="text/css"/>
<script type="text/javascript" src="../../jquery.js"></script>
<script type="text/javascript" src="../../dynsections.js"></script>
<link href="../../search/search.css" rel="stylesheet" type="text/css"/>
<script type="text/javascript" src="../../search/searchdata.js"></script>
<script type="text/javascript" src="../../search/search.js"></script>
<script type="text/javascript">
  $(document).ready(function() { init_search(); });
</script>
<link href="../../doxygen.css" rel="stylesheet" type="text/css" />
</head>
<body>
<div id="top"><!-- do not remove this div, it is closed by doxygen! -->
<div id="titlearea">
<table cellspacing="0" cellpadding="0">
 <tbody>
 <tr style="height: 56px;">
  <td id="projectlogo"><img alt="Logo" src="../../logo.png"/></td>
  <td style="padding-left: 0.5em;">
   <div id="projectname">hybridMPIC
   </div>
   <div id="projectbrief">A fully relativisitic 2d Particle-In-Cell(PIC) code, with explicit solver, MPI&amp;OpenMP support</div>
  </td>
 </tr>
 </tbody>
</table>
</div>
<!-- end header part -->
<!-- Generated by Doxygen 1.8.9.1 -->
<script type="text/javascript">
var searchBox = new SearchBox("searchBox", "../../search",false,'Search');
</script>
  <div id="navrow1" class="tabs">
    <ul class="tablist">
      <li><a href="../../index.html"><span>Main&#160;Page</span></a></li>
      <li><a href="../../pages.html"><span>Related&#160;Pages</span></a></li>
      <li class="current"><a href="../../annotated.html"><span>Data&#160;Structures</span></a></li>
      <li><a href="../../files.html"><span>Files</span></a></li>
      <li>
        <div id="MSearchBox" class="MSearchBoxInactive">
        <span class="left">
          <img id="MSearchSelect" src="../../search/mag_sel.png"
               onmouseover="return searchBox.OnSearchSelectShow()"
               onmouseout="return searchBox.OnSearchSelectHide()"
               alt=""/>
          <input type="text" id="MSearchField" value="Search" accesskey="S"
               onfocus="searchBox.OnSearchFieldFocus(true)" 
               onblur="searchBox.OnSearchFieldFocus(false)" 
               onkeyup="searchBox.OnSearchFieldChange(event)"/>
          </span><span class="right">
            <a id="MSearchClose" href="javascript:searchBox.CloseResultsWindow()"><img id="MSearchCloseImg" border="0" src="../../search/close.png" alt=""/></a>
          </span>
        </div>
      </li>
    </ul>
  </div>
  <div id="navrow2" class="tabs2">
    <ul class="tablist">
      <li><a href="../../annotated.html"><span>Data&#160;Structures</span></a></li>
      <li><a href="../../classes.html"><span>Data&#160;Structure&#160;Index</span></a></li>
      <li><a href="../../functions.html"><span>Data&#160;Fields</span></a></li>
    </ul>
  </div>
<!-- window showing the filter options -->
<div id="MSearchSelectWindow"
     onmouseover="return searchBox.OnSearchSelectShow()"
     onmouseout="return searchBox.OnSearchSelectHide()"
     onkeydown="return searchBox.OnSearchSelectKey(event)">
</div>

<!-- iframe showing the search results (closed by default) -->
<div id="MSearchResultsWindow">
<iframe src="javascript:void(0)" frameborder="0" 
        name="MSearchResults" id="MSearchResults">
</iframe>
</div>

</div><!-- top -->
<div class="header">
  <div class="summary">
<a href="#pub-methods">Public Member Functions</a> &#124;
<a href="#pub-attribs">Data Fields</a>  </div>
  <div class="headertitle">
<div class="title">__Simbox Class Reference</div>  </div>
</div><!--header-->
<div class="contents">

<p>初始化一个模拟盒子，这个模拟盒子包含cell信息，粒子信息，场信息。粒子种类信息也在这里。  
 <a href="../../d9/d37/class____Simbox.html#details">More...</a></p>

<p><code>#include &lt;<a class="el" href="../../d6/d1b/simbox_8h_source.html">simbox.h</a>&gt;</code></p>
<div class="dynheader">
Collaboration diagram for __Simbox:</div>
<div class="dyncontent">
<div class="center"><img src="../../d7/d32/class____Simbox__coll__graph.png" border="0" usemap="#____Simbox_coll__map" alt="Collaboration graph"/></div>
<map name="____Simbox_coll__map" id="____Simbox_coll__map">
<area shape="rect" id="node20" href="../../d3/dac/class____Cellgroup.html" title="网格二维数组群，来表征一个box内的cell信息，cell是其内部的member " alt="" coords="1062,824,1153,851"/><area shape="rect" id="node3" href="../../d0/de9/structParticles.html" title="Particles" alt="" coords="454,907,527,933"/><area shape="rect" id="node4" title="STL class. " alt="" coords="207,68,287,95"/><area shape="rect" id="node5" title="STL class. " alt="" coords="5,61,132,102"/><area shape="rect" id="node6" href="../../d6/d9c/class____Vect2.html" title="__Vect2\&lt; double \&gt;" alt="" coords="181,841,313,868"/><area shape="rect" id="node10" href="../../d7/dd8/class____Fieldgroup.html" title="__Simbox中grid上的二维场群 " alt="" coords="1059,424,1155,451"/><area shape="rect" id="node18" href="../../d9/ddf/class____Ptcls.html" title="单个粒子类信息，可以是任何种类粒子 " alt="" coords="457,1116,524,1143"/><area shape="rect" id="node7" href="../../da/d1a/class____Vect3.html" title="__Vect3\&lt; double \&gt;" alt="" coords="181,1027,313,1053"/><area shape="rect" id="node12" href="../../d6/d9c/class____Vect2.html" title="__Vect2\&lt; long \&gt;" alt="" coords="775,528,894,555"/><area shape="rect" id="node14" href="../../d6/d9c/class____Vect2.html" title="__Vect2\&lt; int \&gt;" alt="" coords="781,647,889,673"/><area shape="rect" id="node24" href="../../dc/dbf/class____Date.html" title="Class data used to store simulation time, to remember you when you had simulated, this is comtemprari..." alt="" coords="1075,1216,1139,1243"/></map>
<center><span class="legend">[<a href="../../graph_legend.html">legend</a>]</span></center></div>
<table class="memberdecls">
<tr class="heading"><td colspan="2"><h2 class="groupheader"><a name="pub-methods"></a>
Public Member Functions</h2></td></tr>
<tr class="memitem:a5f87c7d514ccf5948cc8ff3f378630c6"><td class="memItemLeft" align="right" valign="top">void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="../../d9/d37/class____Simbox.html#a5f87c7d514ccf5948cc8ff3f378630c6">weight_to_ptcls</a> ()</td></tr>
<tr class="memdesc:a5f87c7d514ccf5948cc8ff3f378630c6"><td class="mdescLeft">&#160;</td><td class="mdescRight">高阶电磁场插值到粒子  <a href="#a5f87c7d514ccf5948cc8ff3f378630c6">More...</a><br /></td></tr>
<tr class="separator:a5f87c7d514ccf5948cc8ff3f378630c6"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:afb9d6cef473b767a475f1523595383f8"><td class="memItemLeft" align="right" valign="top"><a class="anchor" id="afb9d6cef473b767a475f1523595383f8"></a>
&#160;</td><td class="memItemRight" valign="bottom"><b>__Simbox</b> (string &amp;simuname, <a class="el" href="../../dc/dbf/class____Date.html">__Date</a> &amp;today, <a class="el" href="../../d6/d9c/class____Vect2.html">__Vect2</a>&lt; long &gt; <a class="el" href="../../d9/d37/class____Simbox.html#a1069d065630136ab64786177780421d6">xygridmin</a>, <a class="el" href="../../d6/d9c/class____Vect2.html">__Vect2</a>&lt; long &gt; <a class="el" href="../../d9/d37/class____Simbox.html#a57655f5e2f07fccb3e2b202406f2ce9a">xygridmax</a>, <a class="el" href="../../d6/d9c/class____Vect2.html">__Vect2</a>&lt; long &gt; <a class="el" href="../../d9/d37/class____Simbox.html#a3753521e25d09dfcf18ecd05af5d6715">xycell</a>, <a class="el" href="../../d6/d9c/class____Vect2.html">__Vect2</a>&lt; double &gt; <a class="el" href="../../d9/d37/class____Simbox.html#ac61c21a47245bb844737bedb232efb5c">xrange</a>, <a class="el" href="../../d6/d9c/class____Vect2.html">__Vect2</a>&lt; double &gt; <a class="el" href="../../d9/d37/class____Simbox.html#a4ef3442725fe80643d41d344642bb1ef">yrange</a>, <a class="el" href="../../d6/d9c/class____Vect2.html">__Vect2</a>&lt; double &gt; <a class="el" href="../../d9/d37/class____Simbox.html#ab5af0df69c2db61e7d3159f410d38a3f">time</a>, int &amp;tsteps, double &amp;deltat, const int &amp;<a class="el" href="../../d9/d37/class____Simbox.html#aedf908b7494da94c9bb34a945e92475e">species</a>, const vector&lt; <a class="el" href="../../d0/de9/structParticles.html">Particles</a> &gt; &amp;<a class="el" href="../../d9/d37/class____Simbox.html#a7eaa63a7820b216f2dab1bd32295b66c">spptcl</a>, long <a class="el" href="../../d9/d37/class____Simbox.html#ad96ab8cd1482f01d6577a3f51e984d64">maxid</a>, const vector&lt; int &gt; &amp;ppcref, <a class="el" href="../../d6/d9c/class____Vect2.html">__Vect2</a>&lt; int &gt; positionref, int <a class="el" href="../../d9/d37/class____Simbox.html#a985edc51ee73726ad4193b1ab6dccf83">disable_em</a>=0)</td></tr>
<tr class="separator:afb9d6cef473b767a475f1523595383f8"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a1e92c0d0d11b9bf4916c436fe6a8fc83"><td class="memItemLeft" align="right" valign="top"><a class="anchor" id="a1e92c0d0d11b9bf4916c436fe6a8fc83"></a>
void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="../../d9/d37/class____Simbox.html#a1e92c0d0d11b9bf4916c436fe6a8fc83">init</a> ()</td></tr>
<tr class="memdesc:a1e92c0d0d11b9bf4916c436fe6a8fc83"><td class="mdescLeft">&#160;</td><td class="mdescRight">利用构造函数提供的数据进行初始化，初始化cell，粒子，和场 <br /></td></tr>
<tr class="separator:a1e92c0d0d11b9bf4916c436fe6a8fc83"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a7fc4ebbf81bf6af1524fcb096a2f3b99"><td class="memItemLeft" align="right" valign="top"><a class="anchor" id="a7fc4ebbf81bf6af1524fcb096a2f3b99"></a>
int&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="../../d9/d37/class____Simbox.html#a7fc4ebbf81bf6af1524fcb096a2f3b99">read_tables1d</a> ()</td></tr>
<tr class="memdesc:a7fc4ebbf81bf6af1524fcb096a2f3b99"><td class="mdescLeft">&#160;</td><td class="mdescRight">0 代表读取成功 <br /></td></tr>
<tr class="separator:a7fc4ebbf81bf6af1524fcb096a2f3b99"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a198983b9a0b459582be76dc23c258835"><td class="memItemLeft" align="right" valign="top"><a class="anchor" id="a198983b9a0b459582be76dc23c258835"></a>
int&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="../../d9/d37/class____Simbox.html#a198983b9a0b459582be76dc23c258835">read_tables2d</a> ()</td></tr>
<tr class="memdesc:a198983b9a0b459582be76dc23c258835"><td class="mdescLeft">&#160;</td><td class="mdescRight">0 代表读取成功 <br /></td></tr>
<tr class="separator:a198983b9a0b459582be76dc23c258835"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a7ac220f6de530264114a035adb65865f"><td class="memItemLeft" align="right" valign="top"><a class="anchor" id="a7ac220f6de530264114a035adb65865f"></a>
double&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="../../d9/d37/class____Simbox.html#a7ac220f6de530264114a035adb65865f">get_density</a> (const <a class="el" href="../../d6/d9c/class____Vect2.html">__Vect2</a>&lt; double &gt; &amp;xycoords, int sp)</td></tr>
<tr class="memdesc:a7ac220f6de530264114a035adb65865f"><td class="mdescLeft">&#160;</td><td class="mdescRight">通过这个函数得到某一左边，sp类粒子的密度，从而进行初始化 <br /></td></tr>
<tr class="separator:a7ac220f6de530264114a035adb65865f"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a03aa279e56801059c052856e68f0a820"><td class="memItemLeft" align="right" valign="top">void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="../../d9/d37/class____Simbox.html#a03aa279e56801059c052856e68f0a820">migration</a> (const int &amp;myrank)</td></tr>
<tr class="memdesc:a03aa279e56801059c052856e68f0a820"><td class="mdescLeft">&#160;</td><td class="mdescRight">对越界粒子进行处理  <a href="#a03aa279e56801059c052856e68f0a820">More...</a><br /></td></tr>
<tr class="separator:a03aa279e56801059c052856e68f0a820"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a40b1248622c222d646eccbc4d44db9a9"><td class="memItemLeft" align="right" valign="top"><a class="anchor" id="a40b1248622c222d646eccbc4d44db9a9"></a>
<a class="el" href="../../d6/d9c/class____Vect2.html">__Vect2</a>&lt; long &gt;&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="../../d9/d37/class____Simbox.html#a40b1248622c222d646eccbc4d44db9a9">coords_to_cell</a> (const <a class="el" href="../../d6/d9c/class____Vect2.html">__Vect2</a>&lt; double &gt; &amp;xycoords)</td></tr>
<tr class="memdesc:a40b1248622c222d646eccbc4d44db9a9"><td class="mdescLeft">&#160;</td><td class="mdescRight">从坐标到网格的转换 <br /></td></tr>
<tr class="separator:a40b1248622c222d646eccbc4d44db9a9"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a228d7b452f6298ae5ac4e6d5e27447cb"><td class="memItemLeft" align="right" valign="top"><a class="anchor" id="a228d7b452f6298ae5ac4e6d5e27447cb"></a>
void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="../../d9/d37/class____Simbox.html#a228d7b452f6298ae5ac4e6d5e27447cb">field_copy_to_cell</a> ()</td></tr>
<tr class="memdesc:a228d7b452f6298ae5ac4e6d5e27447cb"><td class="mdescLeft">&#160;</td><td class="mdescRight">场拷贝到网格 <br /></td></tr>
<tr class="separator:a228d7b452f6298ae5ac4e6d5e27447cb"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:ab0e530da5a9958f76805fd1e58c4842c"><td class="memItemLeft" align="right" valign="top">void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="../../d9/d37/class____Simbox.html#ab0e530da5a9958f76805fd1e58c4842c">cell_copy_to_field</a> (int domain, const int &amp;myrank)</td></tr>
<tr class="memdesc:ab0e530da5a9958f76805fd1e58c4842c"><td class="mdescLeft">&#160;</td><td class="mdescRight">网格的流拷贝到场  <a href="#ab0e530da5a9958f76805fd1e58c4842c">More...</a><br /></td></tr>
<tr class="separator:ab0e530da5a9958f76805fd1e58c4842c"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a1ec1c143154dded2870e4b209b756f80"><td class="memItemLeft" align="right" valign="top">void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="../../d9/d37/class____Simbox.html#a1ec1c143154dded2870e4b209b756f80">advancest1</a> (const int &amp;rank)</td></tr>
<tr class="memdesc:a1ec1c143154dded2870e4b209b756f80"><td class="mdescLeft">&#160;</td><td class="mdescRight">进行演化  <a href="#a1ec1c143154dded2870e4b209b756f80">More...</a><br /></td></tr>
<tr class="separator:a1ec1c143154dded2870e4b209b756f80"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:ab0b70a66763f827dd9163f0af964dc6e"><td class="memItemLeft" align="right" valign="top"><a class="anchor" id="ab0b70a66763f827dd9163f0af964dc6e"></a>
void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="../../d9/d37/class____Simbox.html#ab0b70a66763f827dd9163f0af964dc6e">advancest2</a> (const int &amp;rank)</td></tr>
<tr class="memdesc:ab0b70a66763f827dd9163f0af964dc6e"><td class="mdescLeft">&#160;</td><td class="mdescRight">演化电场damping <br /></td></tr>
<tr class="separator:ab0b70a66763f827dd9163f0af964dc6e"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a4a993474ba3b669444819918ab93d3d1"><td class="memItemLeft" align="right" valign="top"><a class="anchor" id="a4a993474ba3b669444819918ab93d3d1"></a>
void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="../../d9/d37/class____Simbox.html#a4a993474ba3b669444819918ab93d3d1">advancest3</a> (const int &amp;rank)</td></tr>
<tr class="memdesc:a4a993474ba3b669444819918ab93d3d1"><td class="mdescLeft">&#160;</td><td class="mdescRight">演化磁场反damping，拷贝场到cell，场weight到ptcls <br /></td></tr>
<tr class="separator:a4a993474ba3b669444819918ab93d3d1"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a795db2e4ff5a8ecfa398ceeceb52dde7"><td class="memItemLeft" align="right" valign="top"><a class="anchor" id="a795db2e4ff5a8ecfa398ceeceb52dde7"></a>
void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="../../d9/d37/class____Simbox.html#a795db2e4ff5a8ecfa398ceeceb52dde7">advancest4</a> (const int &amp;rank, const int &amp;n)</td></tr>
<tr class="memdesc:a795db2e4ff5a8ecfa398ceeceb52dde7"><td class="mdescLeft">&#160;</td><td class="mdescRight">推进粒子 <br /></td></tr>
<tr class="separator:a795db2e4ff5a8ecfa398ceeceb52dde7"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a0f9a32e9da537ff1582c012e0893b187"><td class="memItemLeft" align="right" valign="top">void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="../../d9/d37/class____Simbox.html#a0f9a32e9da537ff1582c012e0893b187">advancest5</a> (const int &amp;rank)</td></tr>
<tr class="memdesc:a0f9a32e9da537ff1582c012e0893b187"><td class="mdescLeft">&#160;</td><td class="mdescRight">进行migration，将粒子weight到grid上，拷贝到field中  <a href="#a0f9a32e9da537ff1582c012e0893b187">More...</a><br /></td></tr>
<tr class="separator:a0f9a32e9da537ff1582c012e0893b187"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a93813c487c72a548c110f81d94464767"><td class="memItemLeft" align="right" valign="top"><a class="anchor" id="a93813c487c72a548c110f81d94464767"></a>
void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="../../d9/d37/class____Simbox.html#a93813c487c72a548c110f81d94464767">dump</a> ()</td></tr>
<tr class="memdesc:a93813c487c72a548c110f81d94464767"><td class="mdescLeft">&#160;</td><td class="mdescRight">数据dump，目前没用到 <br /></td></tr>
<tr class="separator:a93813c487c72a548c110f81d94464767"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a98a3fbbbd7cd6385e19aa7aa69ef0326"><td class="memItemLeft" align="right" valign="top"><a class="anchor" id="a98a3fbbbd7cd6385e19aa7aa69ef0326"></a>
long&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="../../d9/d37/class____Simbox.html#a98a3fbbbd7cd6385e19aa7aa69ef0326">get_sp_num</a> (int sp)</td></tr>
<tr class="memdesc:a98a3fbbbd7cd6385e19aa7aa69ef0326"><td class="mdescLeft">&#160;</td><td class="mdescRight">得到当前时间点sp类粒子的总数目 <br /></td></tr>
<tr class="separator:a98a3fbbbd7cd6385e19aa7aa69ef0326"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a4801f6cbfa5bfbb5396743385f34d3e6"><td class="memItemLeft" align="right" valign="top"><a class="anchor" id="a4801f6cbfa5bfbb5396743385f34d3e6"></a>
void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="../../d9/d37/class____Simbox.html#a4801f6cbfa5bfbb5396743385f34d3e6">init_flag</a> ()</td></tr>
<tr class="memdesc:a4801f6cbfa5bfbb5396743385f34d3e6"><td class="mdescLeft">&#160;</td><td class="mdescRight">初始化flag，必须调用 <br /></td></tr>
<tr class="separator:a4801f6cbfa5bfbb5396743385f34d3e6"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a5373861b182b76675dd5a957362b01e0"><td class="memItemLeft" align="right" valign="top"><a class="anchor" id="a5373861b182b76675dd5a957362b01e0"></a>
void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="../../d9/d37/class____Simbox.html#a5373861b182b76675dd5a957362b01e0">set_field_boundary</a> (const int bd_typer[], const int startindexr[], const int damplenr[])</td></tr>
<tr class="memdesc:a5373861b182b76675dd5a957362b01e0"><td class="mdescLeft">&#160;</td><td class="mdescRight">设置场的边界条件 <br /></td></tr>
<tr class="separator:a5373861b182b76675dd5a957362b01e0"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a2738c77370303e4ee37d91a50e07afa2"><td class="memItemLeft" align="right" valign="top"><a class="anchor" id="a2738c77370303e4ee37d91a50e07afa2"></a>
void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="../../d9/d37/class____Simbox.html#a2738c77370303e4ee37d91a50e07afa2">copy_to_pline</a> (__Pline &amp;plinel, __Pline &amp;pliner, const int direction)</td></tr>
<tr class="memdesc:a2738c77370303e4ee37d91a50e07afa2"><td class="mdescLeft">&#160;</td><td class="mdescRight">拷贝越界粒子数据到MPI数据 <br /></td></tr>
<tr class="separator:a2738c77370303e4ee37d91a50e07afa2"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a43ab0c066d297a9f2d6a3f19d79fd80d"><td class="memItemLeft" align="right" valign="top"><a class="anchor" id="a43ab0c066d297a9f2d6a3f19d79fd80d"></a>
void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="../../d9/d37/class____Simbox.html#a43ab0c066d297a9f2d6a3f19d79fd80d">copy_to_fline</a> (__Fline &amp;flinel, __Fline &amp;fliner, const int direction)</td></tr>
<tr class="memdesc:a43ab0c066d297a9f2d6a3f19d79fd80d"><td class="mdescLeft">&#160;</td><td class="mdescRight">拷贝ghostcell场数据到MPI数据 <br /></td></tr>
<tr class="separator:a43ab0c066d297a9f2d6a3f19d79fd80d"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a492b128b9136af938b65fc52d618f72f"><td class="memItemLeft" align="right" valign="top">void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="../../d9/d37/class____Simbox.html#a492b128b9136af938b65fc52d618f72f">copy_to_jline</a> (__Jline &amp;jlinel, __Jline &amp;jliner, const int direction)</td></tr>
<tr class="memdesc:a492b128b9136af938b65fc52d618f72f"><td class="mdescLeft">&#160;</td><td class="mdescRight">拷贝ghostcell数据到MPI数据  <a href="#a492b128b9136af938b65fc52d618f72f">More...</a><br /></td></tr>
<tr class="separator:a492b128b9136af938b65fc52d618f72f"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a7f2414291db5025fab96b861f23a5c30"><td class="memItemLeft" align="right" valign="top"><a class="anchor" id="a7f2414291db5025fab96b861f23a5c30"></a>
void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="../../d9/d37/class____Simbox.html#a7f2414291db5025fab96b861f23a5c30">fline_copy_to</a> (__Fline &amp;flinel, __Fline &amp;fliner, const int direction)</td></tr>
<tr class="memdesc:a7f2414291db5025fab96b861f23a5c30"><td class="mdescLeft">&#160;</td><td class="mdescRight">拷贝MPI数据到边界场 <br /></td></tr>
<tr class="separator:a7f2414291db5025fab96b861f23a5c30"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a936f2b5e79a29642f7cc9e4d68cf8d6b"><td class="memItemLeft" align="right" valign="top"><a class="anchor" id="a936f2b5e79a29642f7cc9e4d68cf8d6b"></a>
void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="../../d9/d37/class____Simbox.html#a936f2b5e79a29642f7cc9e4d68cf8d6b">pline_copy_to</a> (__Pline &amp;plinel, __Pline &amp;pliner, const int direction)</td></tr>
<tr class="memdesc:a936f2b5e79a29642f7cc9e4d68cf8d6b"><td class="mdescLeft">&#160;</td><td class="mdescRight">拷贝MPI数据到当前越界粒子束中 <br /></td></tr>
<tr class="separator:a936f2b5e79a29642f7cc9e4d68cf8d6b"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a38520d2d15b5b77ab82c9edff1d29557"><td class="memItemLeft" align="right" valign="top">void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="../../d9/d37/class____Simbox.html#a38520d2d15b5b77ab82c9edff1d29557">jline_copy_to</a> (__Jline &amp;jlinel, __Jline &amp;jliner, const int direction)</td></tr>
<tr class="memdesc:a38520d2d15b5b77ab82c9edff1d29557"><td class="mdescLeft">&#160;</td><td class="mdescRight">拷贝MPI网格数据到当前cellgroup数据中  <a href="#a38520d2d15b5b77ab82c9edff1d29557">More...</a><br /></td></tr>
<tr class="separator:a38520d2d15b5b77ab82c9edff1d29557"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a5e3e4fb97a63092ee723643cc8be155c"><td class="memItemLeft" align="right" valign="top"><a class="anchor" id="a5e3e4fb97a63092ee723643cc8be155c"></a>
void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="../../d9/d37/class____Simbox.html#a5e3e4fb97a63092ee723643cc8be155c">set_data_file</a> (const vector&lt; string &gt; &amp;fnames1d, const vector&lt; string &gt; &amp;fnames2d)</td></tr>
<tr class="memdesc:a5e3e4fb97a63092ee723643cc8be155c"><td class="mdescLeft">&#160;</td><td class="mdescRight">设置输入数据文件名 <br /></td></tr>
<tr class="separator:a5e3e4fb97a63092ee723643cc8be155c"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a8328f09670b5af9a8871fb09ea7821ee"><td class="memItemLeft" align="right" valign="top"><a class="anchor" id="a8328f09670b5af9a8871fb09ea7821ee"></a>
void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="../../d9/d37/class____Simbox.html#a8328f09670b5af9a8871fb09ea7821ee">set_monte_carlo</a> (int monte_flags[])</td></tr>
<tr class="memdesc:a8328f09670b5af9a8871fb09ea7821ee"><td class="mdescLeft">&#160;</td><td class="mdescRight">拷贝ｆｌａｇ <br /></td></tr>
<tr class="separator:a8328f09670b5af9a8871fb09ea7821ee"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:ac3f6fa1020fbbd1b6ea6c02467c4207e"><td class="memItemLeft" align="right" valign="top"><a class="anchor" id="ac3f6fa1020fbbd1b6ea6c02467c4207e"></a>
void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="../../d9/d37/class____Simbox.html#ac3f6fa1020fbbd1b6ea6c02467c4207e">squeeze</a> ()</td></tr>
<tr class="memdesc:ac3f6fa1020fbbd1b6ea6c02467c4207e"><td class="mdescLeft">&#160;</td><td class="mdescRight">对内存进行优化 <br /></td></tr>
<tr class="separator:ac3f6fa1020fbbd1b6ea6c02467c4207e"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a04c43fa0efc9adde528f5a2b1565eb0c"><td class="memItemLeft" align="right" valign="top"><a class="anchor" id="a04c43fa0efc9adde528f5a2b1565eb0c"></a>
void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="../../d9/d37/class____Simbox.html#a04c43fa0efc9adde528f5a2b1565eb0c">merge</a> (const int &amp;sp)</td></tr>
<tr class="memdesc:a04c43fa0efc9adde528f5a2b1565eb0c"><td class="mdescLeft">&#160;</td><td class="mdescRight">对sp类型的粒子进行合并 <br /></td></tr>
<tr class="separator:a04c43fa0efc9adde528f5a2b1565eb0c"><td class="memSeparator" colspan="2">&#160;</td></tr>
</table><table class="memberdecls">
<tr class="heading"><td colspan="2"><h2 class="groupheader"><a name="pub-attribs"></a>
Data Fields</h2></td></tr>
<tr class="memitem:aad94d72a3939da968ce7a8d0dcf0819c"><td class="memItemLeft" align="right" valign="top"><a class="anchor" id="aad94d72a3939da968ce7a8d0dcf0819c"></a>
string&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="../../d9/d37/class____Simbox.html#aad94d72a3939da968ce7a8d0dcf0819c">simname</a></td></tr>
<tr class="memdesc:aad94d72a3939da968ce7a8d0dcf0819c"><td class="mdescLeft">&#160;</td><td class="mdescRight">这个名字将会输出数据文件名的头部 <br /></td></tr>
<tr class="separator:aad94d72a3939da968ce7a8d0dcf0819c"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:acdebe598c8a8b0353213e29d517ec237"><td class="memItemLeft" align="right" valign="top"><a class="anchor" id="acdebe598c8a8b0353213e29d517ec237"></a>
<a class="el" href="../../dc/dbf/class____Date.html">__Date</a>&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="../../d9/d37/class____Simbox.html#acdebe598c8a8b0353213e29d517ec237">simdate</a></td></tr>
<tr class="memdesc:acdebe598c8a8b0353213e29d517ec237"><td class="mdescLeft">&#160;</td><td class="mdescRight">日期，目前没用 <br /></td></tr>
<tr class="separator:acdebe598c8a8b0353213e29d517ec237"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a2734caf8aa18758f81357f0f4e814016"><td class="memItemLeft" align="right" valign="top"><a class="anchor" id="a2734caf8aa18758f81357f0f4e814016"></a>
<a class="el" href="../../d6/d9c/class____Vect2.html">__Vect2</a>&lt; double &gt;&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="../../d9/d37/class____Simbox.html#a2734caf8aa18758f81357f0f4e814016">basexymax</a></td></tr>
<tr class="memdesc:a2734caf8aa18758f81357f0f4e814016"><td class="mdescLeft">&#160;</td><td class="mdescRight">所有总模拟盒子的边界 <br /></td></tr>
<tr class="separator:a2734caf8aa18758f81357f0f4e814016"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a22559f8c6244c5f11b1569cd578984e0"><td class="memItemLeft" align="right" valign="top"><a class="anchor" id="a22559f8c6244c5f11b1569cd578984e0"></a>
<a class="el" href="../../d6/d9c/class____Vect2.html">__Vect2</a>&lt; double &gt;&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="../../d9/d37/class____Simbox.html#a22559f8c6244c5f11b1569cd578984e0">basexymin</a></td></tr>
<tr class="memdesc:a22559f8c6244c5f11b1569cd578984e0"><td class="mdescLeft">&#160;</td><td class="mdescRight">所有总模拟盒子的边界 <br /></td></tr>
<tr class="separator:a22559f8c6244c5f11b1569cd578984e0"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a57655f5e2f07fccb3e2b202406f2ce9a"><td class="memItemLeft" align="right" valign="top"><a class="anchor" id="a57655f5e2f07fccb3e2b202406f2ce9a"></a>
<a class="el" href="../../d6/d9c/class____Vect2.html">__Vect2</a>&lt; long &gt;&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="../../d9/d37/class____Simbox.html#a57655f5e2f07fccb3e2b202406f2ce9a">xygridmax</a></td></tr>
<tr class="memdesc:a57655f5e2f07fccb3e2b202406f2ce9a"><td class="mdescLeft">&#160;</td><td class="mdescRight">盒子的网格标号最大和最小 <br /></td></tr>
<tr class="separator:a57655f5e2f07fccb3e2b202406f2ce9a"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a1069d065630136ab64786177780421d6"><td class="memItemLeft" align="right" valign="top"><a class="anchor" id="a1069d065630136ab64786177780421d6"></a>
<a class="el" href="../../d6/d9c/class____Vect2.html">__Vect2</a>&lt; long &gt;&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="../../d9/d37/class____Simbox.html#a1069d065630136ab64786177780421d6">xygridmin</a></td></tr>
<tr class="memdesc:a1069d065630136ab64786177780421d6"><td class="mdescLeft">&#160;</td><td class="mdescRight">盒子的网格标号最大和最小 <br /></td></tr>
<tr class="separator:a1069d065630136ab64786177780421d6"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a3753521e25d09dfcf18ecd05af5d6715"><td class="memItemLeft" align="right" valign="top"><a class="anchor" id="a3753521e25d09dfcf18ecd05af5d6715"></a>
<a class="el" href="../../d6/d9c/class____Vect2.html">__Vect2</a>&lt; long &gt;&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="../../d9/d37/class____Simbox.html#a3753521e25d09dfcf18ecd05af5d6715">xycell</a></td></tr>
<tr class="memdesc:a3753521e25d09dfcf18ecd05af5d6715"><td class="mdescLeft">&#160;</td><td class="mdescRight">盒子中网格的数目 <br /></td></tr>
<tr class="separator:a3753521e25d09dfcf18ecd05af5d6715"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:ac61c21a47245bb844737bedb232efb5c"><td class="memItemLeft" align="right" valign="top"><a class="anchor" id="ac61c21a47245bb844737bedb232efb5c"></a>
<a class="el" href="../../d6/d9c/class____Vect2.html">__Vect2</a>&lt; double &gt;&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="../../d9/d37/class____Simbox.html#ac61c21a47245bb844737bedb232efb5c">xrange</a></td></tr>
<tr class="memdesc:ac61c21a47245bb844737bedb232efb5c"><td class="mdescLeft">&#160;</td><td class="mdescRight">盒子x的范围 <br /></td></tr>
<tr class="separator:ac61c21a47245bb844737bedb232efb5c"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a4ef3442725fe80643d41d344642bb1ef"><td class="memItemLeft" align="right" valign="top"><a class="anchor" id="a4ef3442725fe80643d41d344642bb1ef"></a>
<a class="el" href="../../d6/d9c/class____Vect2.html">__Vect2</a>&lt; double &gt;&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="../../d9/d37/class____Simbox.html#a4ef3442725fe80643d41d344642bb1ef">yrange</a></td></tr>
<tr class="memdesc:a4ef3442725fe80643d41d344642bb1ef"><td class="mdescLeft">&#160;</td><td class="mdescRight">盒子y的范围 <br /></td></tr>
<tr class="separator:a4ef3442725fe80643d41d344642bb1ef"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a45694a355768a17d0da78460c7d24e2b"><td class="memItemLeft" align="right" valign="top"><a class="anchor" id="a45694a355768a17d0da78460c7d24e2b"></a>
<a class="el" href="../../d6/d9c/class____Vect2.html">__Vect2</a>&lt; double &gt;&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="../../d9/d37/class____Simbox.html#a45694a355768a17d0da78460c7d24e2b">xymax</a></td></tr>
<tr class="memdesc:a45694a355768a17d0da78460c7d24e2b"><td class="mdescLeft">&#160;</td><td class="mdescRight">盒子，xy最大值 <br /></td></tr>
<tr class="separator:a45694a355768a17d0da78460c7d24e2b"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a6d6a6dbebdbce9237e486e516fef25d9"><td class="memItemLeft" align="right" valign="top"><a class="anchor" id="a6d6a6dbebdbce9237e486e516fef25d9"></a>
<a class="el" href="../../d6/d9c/class____Vect2.html">__Vect2</a>&lt; double &gt;&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="../../d9/d37/class____Simbox.html#a6d6a6dbebdbce9237e486e516fef25d9">xymin</a></td></tr>
<tr class="memdesc:a6d6a6dbebdbce9237e486e516fef25d9"><td class="mdescLeft">&#160;</td><td class="mdescRight">盒子xy最小值 <br /></td></tr>
<tr class="separator:a6d6a6dbebdbce9237e486e516fef25d9"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:ab5af0df69c2db61e7d3159f410d38a3f"><td class="memItemLeft" align="right" valign="top"><a class="anchor" id="ab5af0df69c2db61e7d3159f410d38a3f"></a>
<a class="el" href="../../d6/d9c/class____Vect2.html">__Vect2</a>&lt; double &gt;&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="../../d9/d37/class____Simbox.html#ab5af0df69c2db61e7d3159f410d38a3f">time</a></td></tr>
<tr class="memdesc:ab5af0df69c2db61e7d3159f410d38a3f"><td class="mdescLeft">&#160;</td><td class="mdescRight">模拟时间开始和结束点 <br /></td></tr>
<tr class="separator:ab5af0df69c2db61e7d3159f410d38a3f"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a5029561655f03e6ae8819ece8a95e99c"><td class="memItemLeft" align="right" valign="top"><a class="anchor" id="a5029561655f03e6ae8819ece8a95e99c"></a>
<a class="el" href="../../d6/d9c/class____Vect2.html">__Vect2</a>&lt; int &gt;&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="../../d9/d37/class____Simbox.html#a5029561655f03e6ae8819ece8a95e99c">position</a></td></tr>
<tr class="memdesc:a5029561655f03e6ae8819ece8a95e99c"><td class="mdescLeft">&#160;</td><td class="mdescRight">这个position本来是准备在2d MPI 中记录box位置的，在一维domain分解中没有必要 <br /></td></tr>
<tr class="separator:a5029561655f03e6ae8819ece8a95e99c"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:ad3349dd5eac6fa46e9f931b7302442fa"><td class="memItemLeft" align="right" valign="top"><a class="anchor" id="ad3349dd5eac6fa46e9f931b7302442fa"></a>
<a class="el" href="../../d6/d9c/class____Vect2.html">__Vect2</a>&lt; double &gt;&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="../../d9/d37/class____Simbox.html#ad3349dd5eac6fa46e9f931b7302442fa">dxy</a></td></tr>
<tr class="memdesc:ad3349dd5eac6fa46e9f931b7302442fa"><td class="mdescLeft">&#160;</td><td class="mdescRight">网格长宽 <br /></td></tr>
<tr class="separator:ad3349dd5eac6fa46e9f931b7302442fa"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a7224b6c1583de931049b974f9c46a1ff"><td class="memItemLeft" align="right" valign="top"><a class="anchor" id="a7224b6c1583de931049b974f9c46a1ff"></a>
int&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="../../d9/d37/class____Simbox.html#a7224b6c1583de931049b974f9c46a1ff">t_steps</a></td></tr>
<tr class="memdesc:a7224b6c1583de931049b974f9c46a1ff"><td class="mdescLeft">&#160;</td><td class="mdescRight">时间步数，不能自己指定，而是根据给定的网格宽度和时间长度、Corant 条件算出。 <br /></td></tr>
<tr class="separator:a7224b6c1583de931049b974f9c46a1ff"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:aedf908b7494da94c9bb34a945e92475e"><td class="memItemLeft" align="right" valign="top"><a class="anchor" id="aedf908b7494da94c9bb34a945e92475e"></a>
int&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="../../d9/d37/class____Simbox.html#aedf908b7494da94c9bb34a945e92475e">species</a></td></tr>
<tr class="memdesc:aedf908b7494da94c9bb34a945e92475e"><td class="mdescLeft">&#160;</td><td class="mdescRight">粒子种类，4为默认，但可以不给粒子小于4时，最后面的粒子种类将不会启用 0：电子，1：离子，2：正电子，3：光子 <br /></td></tr>
<tr class="separator:aedf908b7494da94c9bb34a945e92475e"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a7eaa63a7820b216f2dab1bd32295b66c"><td class="memItemLeft" align="right" valign="top"><a class="anchor" id="a7eaa63a7820b216f2dab1bd32295b66c"></a>
vector&lt; <a class="el" href="../../d0/de9/structParticles.html">Particles</a> &gt;&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="../../d9/d37/class____Simbox.html#a7eaa63a7820b216f2dab1bd32295b66c">spptcl</a></td></tr>
<tr class="memdesc:a7eaa63a7820b216f2dab1bd32295b66c"><td class="mdescLeft">&#160;</td><td class="mdescRight">speices struct info <br /></td></tr>
<tr class="separator:a7eaa63a7820b216f2dab1bd32295b66c"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a401c24180edf0702b647430fdd3fe18d"><td class="memItemLeft" align="right" valign="top"><a class="anchor" id="a401c24180edf0702b647430fdd3fe18d"></a>
double&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="../../d9/d37/class____Simbox.html#a401c24180edf0702b647430fdd3fe18d">delta_t</a></td></tr>
<tr class="memdesc:a401c24180edf0702b647430fdd3fe18d"><td class="mdescLeft">&#160;</td><td class="mdescRight">dt 根据网格宽度和Corant 条件算出 <br /></td></tr>
<tr class="separator:a401c24180edf0702b647430fdd3fe18d"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:ad96ab8cd1482f01d6577a3f51e984d64"><td class="memItemLeft" align="right" valign="top"><a class="anchor" id="ad96ab8cd1482f01d6577a3f51e984d64"></a>
long&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="../../d9/d37/class____Simbox.html#ad96ab8cd1482f01d6577a3f51e984d64">maxid</a></td></tr>
<tr class="memdesc:ad96ab8cd1482f01d6577a3f51e984d64"><td class="mdescLeft">&#160;</td><td class="mdescRight">代表当前box初始化时粒子id最大值 <br /></td></tr>
<tr class="separator:ad96ab8cd1482f01d6577a3f51e984d64"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a9f18ac774a3138c8f40c3f9086d05db7"><td class="memItemLeft" align="right" valign="top"><a class="anchor" id="a9f18ac774a3138c8f40c3f9086d05db7"></a>
vector&lt; int &gt;&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="../../d9/d37/class____Simbox.html#a9f18ac774a3138c8f40c3f9086d05db7">ppc</a></td></tr>
<tr class="memdesc:a9f18ac774a3138c8f40c3f9086d05db7"><td class="mdescLeft">&#160;</td><td class="mdescRight">种类数组，当数组中对应位数为0时，该种类粒子不启用，为1时启用 <br /></td></tr>
<tr class="separator:a9f18ac774a3138c8f40c3f9086d05db7"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a1d2747054968048b27936e922eb2b600"><td class="memItemLeft" align="right" valign="top"><a class="anchor" id="a1d2747054968048b27936e922eb2b600"></a>
bool&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="../../d9/d37/class____Simbox.html#a1d2747054968048b27936e922eb2b600">flag</a></td></tr>
<tr class="memdesc:a1d2747054968048b27936e922eb2b600"><td class="mdescLeft">&#160;</td><td class="mdescRight">当flag = 0时，模拟不会启动，因此必须设置该位 <br /></td></tr>
<tr class="separator:a1d2747054968048b27936e922eb2b600"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a5b0e0739f7ef801501ffee6f13ae08f7"><td class="memItemLeft" align="right" valign="top"><a class="anchor" id="a5b0e0739f7ef801501ffee6f13ae08f7"></a>
int&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="../../d9/d37/class____Simbox.html#a5b0e0739f7ef801501ffee6f13ae08f7">bd_type</a> [4]</td></tr>
<tr class="memdesc:a5b0e0739f7ef801501ffee6f13ae08f7"><td class="mdescLeft">&#160;</td><td class="mdescRight">电磁场边界类型，为下、上、左、右的顺序，0：反射边界，1：吸收边界，2：周期 <br /></td></tr>
<tr class="separator:a5b0e0739f7ef801501ffee6f13ae08f7"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a387bd397868118b46f9a3b5f48e5e884"><td class="memItemLeft" align="right" valign="top"><a class="anchor" id="a387bd397868118b46f9a3b5f48e5e884"></a>
int&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="../../d9/d37/class____Simbox.html#a387bd397868118b46f9a3b5f48e5e884">startindex</a> [4]</td></tr>
<tr class="memdesc:a387bd397868118b46f9a3b5f48e5e884"><td class="mdescLeft">&#160;</td><td class="mdescRight">damplen 开始的网格位置，同样为下、上、左、右 <br /></td></tr>
<tr class="separator:a387bd397868118b46f9a3b5f48e5e884"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:ab93702c971798ebcae402ac5fd9452a3"><td class="memItemLeft" align="right" valign="top"><a class="anchor" id="ab93702c971798ebcae402ac5fd9452a3"></a>
int&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="../../d9/d37/class____Simbox.html#ab93702c971798ebcae402ac5fd9452a3">damplen</a> [4]</td></tr>
<tr class="memdesc:ab93702c971798ebcae402ac5fd9452a3"><td class="mdescLeft">&#160;</td><td class="mdescRight">damplen 存储场的吸收边界情况下四个边界的damp 网格长度， 顺序为下、上、左、右 <br /></td></tr>
<tr class="separator:ab93702c971798ebcae402ac5fd9452a3"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a32c502549741e196cdb22dd35c19addb"><td class="memItemLeft" align="right" valign="top"><a class="anchor" id="a32c502549741e196cdb22dd35c19addb"></a>
int&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="../../d9/d37/class____Simbox.html#a32c502549741e196cdb22dd35c19addb">max_ppc</a></td></tr>
<tr class="memdesc:a32c502549741e196cdb22dd35c19addb"><td class="mdescLeft">&#160;</td><td class="mdescRight">单个网格单种粒子最大数目 <br /></td></tr>
<tr class="separator:a32c502549741e196cdb22dd35c19addb"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a550a30cf0a1b65876f3eecadd4a5d7d1"><td class="memItemLeft" align="right" valign="top"><a class="anchor" id="a550a30cf0a1b65876f3eecadd4a5d7d1"></a>
double&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="../../d9/d37/class____Simbox.html#a550a30cf0a1b65876f3eecadd4a5d7d1">delta_e</a></td></tr>
<tr class="memdesc:a550a30cf0a1b65876f3eecadd4a5d7d1"><td class="mdescLeft">&#160;</td><td class="mdescRight">允许合并粒子的能量差异 <br /></td></tr>
<tr class="separator:a550a30cf0a1b65876f3eecadd4a5d7d1"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a6784133b6ab1eb614ed9f4cef3323016"><td class="memItemLeft" align="right" valign="top"><a class="anchor" id="a6784133b6ab1eb614ed9f4cef3323016"></a>
double&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="../../d9/d37/class____Simbox.html#a6784133b6ab1eb614ed9f4cef3323016">delta_v</a></td></tr>
<tr class="memdesc:a6784133b6ab1eb614ed9f4cef3323016"><td class="mdescLeft">&#160;</td><td class="mdescRight">允许合并粒子的速度差异 ratio <br /></td></tr>
<tr class="separator:a6784133b6ab1eb614ed9f4cef3323016"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a4f33c5b561aca71747a7efdcc8c69416"><td class="memItemLeft" align="right" valign="top"><a class="anchor" id="a4f33c5b561aca71747a7efdcc8c69416"></a>
int&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="../../d9/d37/class____Simbox.html#a4f33c5b561aca71747a7efdcc8c69416">monte_flag</a> [4]</td></tr>
<tr class="memdesc:a4f33c5b561aca71747a7efdcc8c69416"><td class="mdescLeft">&#160;</td><td class="mdescRight">0 不需要开启，１需要开启, 顺序0-syn, 1-brem, 2-bwpair, 3-bhpair <br /></td></tr>
<tr class="separator:a4f33c5b561aca71747a7efdcc8c69416"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a7b2699aebcb40071a20460e5bc34af17"><td class="memItemLeft" align="right" valign="top"><a class="anchor" id="a7b2699aebcb40071a20460e5bc34af17"></a>
vector&lt; vector&lt; double &gt; &gt;&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="../../d9/d37/class____Simbox.html#a7b2699aebcb40071a20460e5bc34af17">tables1d</a></td></tr>
<tr class="memdesc:a7b2699aebcb40071a20460e5bc34af17"><td class="mdescLeft">&#160;</td><td class="mdescRight">可能有2个表0,eta, 1, chi, 2 f, 3 h(eta), 4 T(chi), 5 chi for T, 6 eta for h <br /></td></tr>
<tr class="separator:a7b2699aebcb40071a20460e5bc34af17"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a985edc51ee73726ad4193b1ab6dccf83"><td class="memItemLeft" align="right" valign="top"><a class="anchor" id="a985edc51ee73726ad4193b1ab6dccf83"></a>
int&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="../../d9/d37/class____Simbox.html#a985edc51ee73726ad4193b1ab6dccf83">disable_em</a></td></tr>
<tr class="memdesc:a985edc51ee73726ad4193b1ab6dccf83"><td class="mdescLeft">&#160;</td><td class="mdescRight">0 则开启电磁相互作用, 1 不开启, 默认开启 <br /></td></tr>
<tr class="separator:a985edc51ee73726ad4193b1ab6dccf83"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a02780963f8e86095ea623540426f38a4"><td class="memItemLeft" align="right" valign="top"><a class="anchor" id="a02780963f8e86095ea623540426f38a4"></a>
vector&lt; vector&lt; vector&lt; double &gt; &gt; &gt;&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="../../d9/d37/class____Simbox.html#a02780963f8e86095ea623540426f38a4">tables2d</a></td></tr>
<tr class="memdesc:a02780963f8e86095ea623540426f38a4"><td class="mdescLeft">&#160;</td><td class="mdescRight">2d 目前只保存P(eta, kappa), P(f, kappa) <br /></td></tr>
<tr class="separator:a02780963f8e86095ea623540426f38a4"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a8796d8691d676c45f0804a0e353759f2"><td class="memItemLeft" align="right" valign="top"><a class="anchor" id="a8796d8691d676c45f0804a0e353759f2"></a>
vector&lt; vector&lt; double &gt; &gt;&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="../../d9/d37/class____Simbox.html#a8796d8691d676c45f0804a0e353759f2">bh_tables1d</a></td></tr>
<tr class="memdesc:a8796d8691d676c45f0804a0e353759f2"><td class="mdescLeft">&#160;</td><td class="mdescRight">保存韧致辐射和ｂｈ过程的能量，以及能量比值 <br /></td></tr>
<tr class="separator:a8796d8691d676c45f0804a0e353759f2"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:ab7fc0bad9903af842e5c114c89e39f3e"><td class="memItemLeft" align="right" valign="top"><a class="anchor" id="ab7fc0bad9903af842e5c114c89e39f3e"></a>
vector&lt; vector&lt; vector&lt; double &gt; &gt; &gt;&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="../../d9/d37/class____Simbox.html#ab7fc0bad9903af842e5c114c89e39f3e">bh_tables2d</a></td></tr>
<tr class="memdesc:ab7fc0bad9903af842e5c114c89e39f3e"><td class="mdescLeft">&#160;</td><td class="mdescRight">保存韧致辐射, bh截面 <br /></td></tr>
<tr class="separator:ab7fc0bad9903af842e5c114c89e39f3e"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a25ca3494d47dc221f0e57e6f6a434992"><td class="memItemLeft" align="right" valign="top"><a class="anchor" id="a25ca3494d47dc221f0e57e6f6a434992"></a>
vector&lt; vector&lt; <a class="el" href="../../d9/ddf/class____Ptcls.html">__Ptcls</a> &gt; &gt;&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="../../d9/d37/class____Simbox.html#a25ca3494d47dc221f0e57e6f6a434992">crossing_bd_ptcls</a></td></tr>
<tr class="memdesc:a25ca3494d47dc221f0e57e6f6a434992"><td class="mdescLeft">&#160;</td><td class="mdescRight">存储越界粒子，当前box中所有越过母网格的粒子，是个vector，包含所有类别的粒子 <br /></td></tr>
<tr class="separator:a25ca3494d47dc221f0e57e6f6a434992"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a55da2476be7af64277a5714fca617bbe"><td class="memItemLeft" align="right" valign="top"><a class="anchor" id="a55da2476be7af64277a5714fca617bbe"></a>
vector&lt; string &gt;&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="../../d9/d37/class____Simbox.html#a55da2476be7af64277a5714fca617bbe">filenames1d</a></td></tr>
<tr class="memdesc:a55da2476be7af64277a5714fca617bbe"><td class="mdescLeft">&#160;</td><td class="mdescRight">filenames1d, filenames2d <br /></td></tr>
<tr class="separator:a55da2476be7af64277a5714fca617bbe"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:aa106ac6355b78f142db2b134c4076bd8"><td class="memItemLeft" align="right" valign="top"><a class="anchor" id="aa106ac6355b78f142db2b134c4076bd8"></a>
vector&lt; string &gt;&#160;</td><td class="memItemRight" valign="bottom"><b>filenames2d</b></td></tr>
<tr class="separator:aa106ac6355b78f142db2b134c4076bd8"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a5bcfefa55f12a83d66d28b8e23fbd0f4"><td class="memItemLeft" align="right" valign="top"><a class="anchor" id="a5bcfefa55f12a83d66d28b8e23fbd0f4"></a>
<a class="el" href="../../d3/dac/class____Cellgroup.html">__Cellgroup</a>&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="../../d9/d37/class____Simbox.html#a5bcfefa55f12a83d66d28b8e23fbd0f4">cellgroup</a></td></tr>
<tr class="memdesc:a5bcfefa55f12a83d66d28b8e23fbd0f4"><td class="mdescLeft">&#160;</td><td class="mdescRight">当前box中的所有网格的二维数组，通过指标可以直接访问 <br /></td></tr>
<tr class="separator:a5bcfefa55f12a83d66d28b8e23fbd0f4"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:aa86ece574ff59da44debc92461c5d2af"><td class="memItemLeft" align="right" valign="top"><a class="anchor" id="aa86ece574ff59da44debc92461c5d2af"></a>
<a class="el" href="../../d7/dd8/class____Fieldgroup.html">__Fieldgroup</a>&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="../../d9/d37/class____Simbox.html#aa86ece574ff59da44debc92461c5d2af">fieldgroup</a></td></tr>
<tr class="memdesc:aa86ece574ff59da44debc92461c5d2af"><td class="mdescLeft">&#160;</td><td class="mdescRight">当前box中所有grid上的场，是fields的一个二维数组 <br /></td></tr>
<tr class="separator:aa86ece574ff59da44debc92461c5d2af"><td class="memSeparator" colspan="2">&#160;</td></tr>
</table>
<a name="details" id="details"></a><h2 class="groupheader">Detailed Description</h2>
<div class="textblock"><p>初始化一个模拟盒子，这个模拟盒子包含cell信息，粒子信息，场信息。粒子种类信息也在这里。 </p>
</div><h2 class="groupheader">Member Function Documentation</h2>
<a class="anchor" id="a1ec1c143154dded2870e4b209b756f80"></a>
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">void __Simbox::advancest1 </td>
          <td>(</td>
          <td class="paramtype">const int &amp;&#160;</td>
          <td class="paramname"><em>rank</em></td><td>)</td>
          <td></td>
        </tr>
      </table>
</div><div class="memdoc">

<p>进行演化 </p>
<p>演化磁场，并damping </p>

</div>
</div>
<a class="anchor" id="a0f9a32e9da537ff1582c012e0893b187"></a>
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">void __Simbox::advancest5 </td>
          <td>(</td>
          <td class="paramtype">const int &amp;&#160;</td>
          <td class="paramname"><em>rank</em></td><td>)</td>
          <td></td>
        </tr>
      </table>
</div><div class="memdoc">

<p>进行migration，将粒子weight到grid上，拷贝到field中 </p>
<p>必须开启,因为密度更新也在此过程中. </p>

</div>
</div>
<a class="anchor" id="ab0e530da5a9958f76805fd1e58c4842c"></a>
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">void __Simbox::cell_copy_to_field </td>
          <td>(</td>
          <td class="paramtype">int&#160;</td>
          <td class="paramname"><em>domain</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">const int &amp;&#160;</td>
          <td class="paramname"><em>myrank</em>&#160;</td>
        </tr>
        <tr>
          <td></td>
          <td>)</td>
          <td></td><td></td>
        </tr>
      </table>
</div><div class="memdoc">

<p>网格的流拷贝到场 </p>
<p>domain 代表是中心 0 还是边界 1 </p>

</div>
</div>
<a class="anchor" id="a492b128b9136af938b65fc52d618f72f"></a>
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">void __Simbox::copy_to_jline </td>
          <td>(</td>
          <td class="paramtype">__Jline &amp;&#160;</td>
          <td class="paramname"><em>jlinel</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">__Jline &amp;&#160;</td>
          <td class="paramname"><em>jliner</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">const int&#160;</td>
          <td class="paramname"><em>direction</em>&#160;</td>
        </tr>
        <tr>
          <td></td>
          <td>)</td>
          <td></td><td></td>
        </tr>
      </table>
</div><div class="memdoc">

<p>拷贝ghostcell数据到MPI数据 </p>
<p>左和下相同，右和上相同</p>
<p>左和下相同，右和上相同 </p>

</div>
</div>
<a class="anchor" id="a38520d2d15b5b77ab82c9edff1d29557"></a>
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">void __Simbox::jline_copy_to </td>
          <td>(</td>
          <td class="paramtype">__Jline &amp;&#160;</td>
          <td class="paramname"><em>jlinel</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">__Jline &amp;&#160;</td>
          <td class="paramname"><em>jliner</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">const int&#160;</td>
          <td class="paramname"><em>direction</em>&#160;</td>
        </tr>
        <tr>
          <td></td>
          <td>)</td>
          <td></td><td></td>
        </tr>
      </table>
</div><div class="memdoc">

<p>拷贝MPI网格数据到当前cellgroup数据中 </p>
<p>将信息储存在边缘，最后叠加到１上 </p>

</div>
</div>
<a class="anchor" id="a03aa279e56801059c052856e68f0a820"></a>
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">void __Simbox::migration </td>
          <td>(</td>
          <td class="paramtype">const int &amp;&#160;</td>
          <td class="paramname"><em>myrank</em></td><td>)</td>
          <td></td>
        </tr>
      </table>
</div><div class="memdoc">

<p>对越界粒子进行处理 </p>
<p>particles in this domain will be deleted </p>

</div>
</div>
<a class="anchor" id="a5f87c7d514ccf5948cc8ff3f378630c6"></a>
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">void __Simbox::weight_to_ptcls </td>
          <td>(</td>
          <td class="paramname"></td><td>)</td>
          <td></td>
        </tr>
      </table>
</div><div class="memdoc">

<p>高阶电磁场插值到粒子 </p>
<p>采用如同EPOCH中的粒子三角形，场均匀算法 </p>
<p>对相邻的三个cell中的场进行插值到粒子 这里采用相对坐标local</p>
<p>已经验证，没有错误</p>
<p>对中间点进行shift</p>
<p>3 grid near the current cell, since field are all locate on the center</p>
<p>use square area weighting </p>

</div>
</div>
<hr/>The documentation for this class was generated from the following file:<ul>
<li><a class="el" href="../../d6/d1b/simbox_8h_source.html">simbox.h</a></li>
</ul>
</div><!-- contents -->
<!-- start footer part -->
<hr class="footer"/><address class="footer"><small>
Generated on Tue Jun 16 2015 22:48:37 for hybridMPIC by &#160;<a href="http://www.doxygen.org/index.html">
<img class="footer" src="../../doxygen.png" alt="doxygen"/>
</a> 1.8.9.1
</small></address>
</body>
</html>
